import type { AppRouteModule } from '@/router/types';

import { LAYOUT } from '@/router/constant';

/**
 * 财务管理
 */
const finance: AppRouteModule = {
  path: '/finance',
  name: 'Finance',
  component: LAYOUT,
  redirect: '/finance/merchantList',
  meta: {
    orderNo: 14,
    icon: 'carbon:version',
    title: '财务管理',
  },
  children: [
    {
      path: 'merchantList',
      name: 'MerchantList',
      component: () => import('@/views/finance/merchantList/index.vue'),
      meta: {
        title: '支付商户费率管理',
      },
    },
  ],
};

export default finance;
